<%@page contentType="text/html" language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>JSP版的完善KindEditor在线编辑器</title>
	<script type="text/javascript" src="${pageContext.request.contextPath}/kindeditor/kindeditor-min.js" charset="UTF-8"></script>
	<script type="text/javascript">
		KE.show({
			 id : "editor",
		     width : "800px",
		     height : "200px",		    
		     resizeMode : 1,
		     allowFileManager : true,
		     /*图片上传的SERVLET路径*/
		     imageUploadJson : "${pageContext.request.contextPath}/uploadImage.html", 
		     /*图片管理的SERVLET路径*/     
		     fileManagerJson : "${pageContext.request.contextPath}/uploadImgManager.html",
		     /*允许上传的附件类型*/
		     accessoryTypes : "doc|xls|pdf|txt|ppt|rar|zip",
		     /*附件上传的SERVLET路径*/
		     accessoryUploadJson : "${pageContext.request.contextPath}/uploadAccessory.html"
		});
	</script>
  </head>
  
  <body bgcolor="#EEF2FB" style="width: 100%;">
 	<div style="height: auto; text-align: left; padding-left: 24%;">
 		<div>
 			<form action="${pageContext.request.contextPath}/show.jsp" method="post">
		 		<textarea id="editor" name="editor" rows="" cols="" style="width: 800px; height: 200px; visibility: hidden;">
		 		</textarea>
		 		<input type="submit" name="submit" value="输出内容" style="cursor: pointer;">
		 	</form>
 		</div>
 	</div>
  </body>
</html>
